package com.lv.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lv.pojo.LoginFrom;
import com.lv.pojo.Student;

/**
 * @Author:晓风残月Lx
 * @Date: 2022/4/28 18:57
 */

public interface StudentService extends IService<Student> {

     Student login(LoginFrom loginFrom) ;

     Student getStudentById(long userId);

    IPage<Student> getStudentByOpr(Page<Student> page, Student student);

    Student updatePwd(Long userId, String oldPwd);
}
